from django.contrib import admin
from .models import *
# Register your models here.


class TeacherAdmin(admin.ModelAdmin):
    list_display = ('uname', 'uphone', 'user', 'school')
    list_display_links = ('uname', 'uphone')
    search_fields = ('uname', 'uphone')
    list_filter = ('school', 'uname')


admin.site.register(Teacher, TeacherAdmin)